-- GENERATED SPELL FOR [Rockfang] --


function spell0_25774(pUnit, Event) --@Chilling Howl,n/a--
pUnit:FullCastSpellOnTarget(32918,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25774', 15000, 1)
end

function Sorts_25774(pUnit, Event)
local choix_sorts_25774 = math.random(0, 0)
if choix_sorts_25774 == 0 then
pUnit:RegisterEvent('spell0_25774', 1, 1)
end
end

function mob25774_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25774', math.random(1500, 3000), 1)
end

function mob25774_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25774_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25774_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25774, 1, 'mob25774_Action')
RegisterUnitEvent(25774, 2, 'mob25774_Leave')
RegisterUnitEvent(25774, 3, 'mob25774_Kill')
RegisterUnitEvent(25774, 4, 'mob25774_Die')
